<template>
  <div class="index-bottom">
    <div class="bottom-container">
      <div class="bottom-img-item">
        <a href="/courses" class="bottom-item">
          <img src="http://www.howzhi.com/themes/howzhi/img/bottom-item1.png?7.5.15.6" alt="">
          <p class="font-white">发现数千门课程</p>
        </a>
        <a class="bottom-item">
          <img src="http://www.howzhi.com/themes/howzhi/img/bottom-item2.png?7.5.15.6 " alt="">
          <p class="font-white">专业学习计划指引</p>
        </a>
        <a class="bottom-item">
          <img src="http://www.howzhi.com/themes/howzhi/img/bottom-item3.png?7.5.15.6" alt="">
          <p class="font-white">与同学一起讨论</p>
        </a>
      </div>
      <router-link tag="a" to="/courses" class="bottom-btn-item fs-xl font-white">更有趣更有效的学习<i
          class="iconfont icon-icon_arrowright"></i></router-link>
    </div>
  </div>
</template>

<script>
export default {
  setup () { }
}
</script>

<style lang="scss" scoped>
.index-bottom {
  width: 100%;
  background: url('http://www.howzhi.com/themes/howzhi/img/index-bottom.jpg');
  background-size: cover;
  .bottom-container {
    padding: 70px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    .bottom-img-item {
      width: 80%;
      margin: 0 auto;
      display: flex;
      justify-content: space-around;
      .bottom-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        @media (max-width: 576px) {
          width: 33%;
          padding: 0 20px;
        }
        img {
          width: 100%;
        }
        p {
          margin-top: 15px;
        }
      }
    }
    .bottom-btn-item {
      margin-top: 15px;
      padding: 12px 35px;
      border: 1px solid #fff;
      border-radius: 35px;
      @media (max-width: 767px) {
        font-size: 18px;
        padding: 10px 25px;
      }
      &:hover {
        background-color: #fff;
      }
    }
  }
}
</style>
